package com.atmilan.quartz.model.dto.pure;

import com.fasterxml.jackson.annotation.JsonIgnoreProperties;
import com.fasterxml.jackson.annotation.JsonProperty;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import java.util.List;

/**
 * Pure商品映射对象
 */
@Data
@JsonIgnoreProperties(ignoreUnknown = true)
public class PureProductResDTO {

    /**
     * 商品id
     */
    @JsonProperty(value = "Id")
    private String id;

    @ApiModelProperty(value = "国际公码")
    private String codiceArticolo;

    private String ean13;

    private String descrizione;

    private String testoEsteso;

    private String testoAggiuntivo1;

    private String testoAggiuntivo2;

    private String testoAggiuntivo3;

    private String idFornitore;

    private String fornitore;

    private String idClasse;

    private String idFamiglia;

    private String idLinea;

    private String idStat1;

    private String idStat2;

    private String idStat3;

    private String classe;

    @ApiModelProperty(value = "品牌")
    private String famiglia;

    private String linea;

    private String stat1;

    private String stat2;

    private String stat3;

    private String idVat;

    private String vat;

    private String price;

    private String priceExVat;

    private String hasCombination;
    /**
     * items
     */
    private List<PureItem> combinations;

    @Data
    public static class PureItem {

        private String id;

        private String ean13;

        private String supplierReference;

        private String idColor;

        private String idSizeType;

        private String idSize;

        private String color;

        private String sizeType;

        private String size;

        private String price;

        private String priceExVat;

    }

}
